using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Controls;
using Infragistics.Windows.DataPresenter;

namespace UI.Control
{
	public class WrapView : Infragistics.Windows.DataPresenter.ViewBase
	{
		protected override CellPresentation CellPresentation
		{
			get
			{
				return CellPresentation.CardView;
			}
		}

		protected override FieldLayoutTemplateGenerator GetFieldLayoutTemplateGenerator(FieldLayout fieldLayout)
		{
			return new CardViewFieldLayoutTemplateGenerator(fieldLayout);
		}

		protected override bool HasLogicalOrientation
		{
			get
			{
				return false;
			}
		}

		protected override Type ItemsPanelType
		{
			get
			{
				return typeof(AnimatedWrapPanel);
			}
		}

		protected override bool IsNestedPanelsSupported
		{
			get
			{
				return false;
			}
		}

		protected override bool IsFixedRecordsSupported
		{
			get
			{
				return false;
			}
		}

	}
}
